Skip to content

Permit2 PermitTransferFrom support#166

Draft
vbrvk wants to merge 18 commits intomainfrom
feat/PT9-137-transfer-permit
Draft

Permit2 PermitTransferFrom support#166
vbrvk wants to merge 18 commits intomainfrom
feat/PT9-137-transfer-permit

Conversation

@vbrvk
Copy link
Copy Markdown
Contributor

@vbrvk vbrvk commented Feb 18, 2026

Change Summary

What does this PR change?
Add support of Permit2 PermitTransferFrom

Testing & Verification

How was this tested?

  • Unit tests
  • Integration tests
  • Manual testing (describe steps)
  • Verified on staging

Risk Assessment

Risk Level:

  • Low - Minor changes, no operational impact
  • Medium - Moderate changes, limited impact, standard rollback available
  • High - Significant changes, potential operational impact, complex rollback

Risks & Impact

@vbrvk vbrvk marked this pull request as draft February 18, 2026 17:08
@vbrvk vbrvk changed the title wip Permit2 PermitTransferFrom support Feb 18, 2026

// todo: update
const PERMIT2_PROXY_ADDRESS = '0xcf56da25062c954b252515244dfefb739c254c23'
const PERMIT2_PROXY_ADDRESS_ZK = '0x0000000000000000000000000000000000000000'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep this in mind and update once we have the correct addresses


export const ONE_INCH_LIMIT_ORDER_V4 =
'0x111111125421ca6dc452d289314280a0f8842a65'
export const ONE_INCH_LIMIT_ORDER_V4_ADDRESSES: Record<NetworkEnum, string> = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We replaced ONE_INCH_LIMIT_ORDER_V4 with ONE_INCH_LIMIT_ORDER_V4_ADDRESSES - sounds like a breaking change as it could be used by customers.
I'd suggest keeping ONE_INCH_LIMIT_ORDER_V4 as deprecated, and suggesting ONE_INCH_LIMIT_ORDER_V4_ADDRESSES usage.

Comment on lines +23 to +25
// todo: update
const PERMIT2_PROXY_ADDRESS = '0xcf56da25062c954b252515244dfefb739c254c23'
const PERMIT2_PROXY_ADDRESS_ZK = '0x0000000000000000000000000000000000000000'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to update addresses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants